import {Sequelize} from "sequelize"
import { sqlLog } from "./log/index"

export const sequelize = new Sequelize("myFileDir", "root", "bo123456", {
    host: "localhost",
    dialect: "mysql",
    logging:  (msg) => {
        sqlLog.error(msg)
    } //控制台不输出过多的操作语句，后面会操作日志
});



